package management.system.model.services;

import java.sql.SQLException;
import java.util.ArrayList;

import management.system.model.bean.MenuDTO;
import management.system.model.factory.DAOFactory;
import management.system.model.interfaces.MenuDAO;

public class MenuService {

	DAOFactory objDAOFactory = DAOFactory.getDAOFactoryDAO(DAOFactory.MYSQL);
	MenuDAO objMenuDAO = objDAOFactory.getMenuDAO();
	
	public ArrayList<MenuDTO> listarMenu(Integer UsuarioID) throws SQLException {
		return objMenuDAO.listarMenu(UsuarioID);
	}
}
